<@_placeMetadata path=path>
    <#assign a=object/>
<#assign formContent>
    <#if a.allowContribute>
<form method="post" action="<#noparse>${site.dynamicPath}</#noparse>place/save.do">
    <input type="hidden" name="_csrf" value="<#noparse><@_csrfToken/></#noparse>"/>
    <input name="path" type="hidden" value="${(path)!}" />
    <input name="returnUrl" type="hidden" value="这里是您的表单提交之后的页面地址" />
    <p><label><@t.page 'title'/>:</label><input name="title" type="text" size="60" value=""/></p>
    <p><label><@t.page 'address'/>:</label><input name="url" type="text" value=""/></p>
    <p><label><@t.page 'cover'/>:</label><input name="cover" type="text" size="60" value=""/></p>
    <#include "../include_page/extendData.html"/>
    <#assign extendList=(a.extendList)![]/>
    <#assign extendValues=getPlaceAttribute((a.id)!)!{}/>
    <@extendData 'extendDataList' extendList extendValues 'customform'/>
    <p><input type="submit" value="<@t.page 'button.save'/>"/></p>
</form>
        <#else>
该推荐位不允许前台提交，请先修改推荐位元数据
    </#if>
</#assign>
</@_placeMetadata>
<div class="pageFormContent" layoutH="19">
    <dl class="nowrap">
        <dt><@t.page 'place'/>:</dt>
        <dd>
            ${(path)!} ${(a.alias)!}
        </dd>
    </dl>
    <dl class="nowrap">
        <dt>表单代码:</dt>
        <dd>
            <textarea cols="80" rows="20">${(formContent)!}</textarea>
        </dd>
    </dl>
</div>